newInstance

public static BrowserView newInstance(Composite parent, Browser browser)

Creates a new BrowserView instance that displays the given browser instance.

Return

a new BrowserView instance

Parameters

parent

the parent container for the new BrowserView instance

browser

Browser instance that will be rendered in the current view